<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
 <!DOCTYPE html>
<html>

<head>
	<base href="/">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    

    <title>关键词新增信息</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="favicon.ico"> 
    <link href="static/templet/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="static/templet/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="static/templet/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="static/templet/css/animate.min.css" rel="stylesheet">
    <link href="static/templet/css/style.min862f.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
    <form action="keyWord/add" method="post" id="keyWordForms">
    	<input type="text" name="data" value="${data }">
    </form>
    <form action="keyWord/toMessage" method="post" id="keyWordForm">
        <div class="row">    
        <!-- 检索 -->
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-content">
                        <table class="table table-hover" id="keyWordTable">
                            <thead>
                                <tr>
                                    <th class="text-center">序号</th>
                                    <th class="text-center">关键词</th>
                                    <th class="text-center">域名</th>
                                    <th class="text-center">引擎</th>
                                </tr>
                            </thead>
                            <tbody>
							<c:forEach items="${param.successList}" var="key" varStatus="vs">
                            	<tr class="text-center">
                                    <td>${vs.index +1 }</td>
									<td>${key.keyWord }</td>
									<td>${key.domain }</td>
									<td>
										<c:if test="${key.engineCode == '01'}">
											百度PC
										</c:if>
										<c:if test="${key.engineCode == '02'}">
											百度移动
										</c:if>
										<c:if test="${key.engineCode == '03'}">
											360PC
										</c:if>
										<c:if test="${key.engineCode == '04'}">
											360移动
										</c:if>
										<c:if test="${key.engineCode == '05'}">
											神马
										</c:if>
										<c:if test="${key.engineCode == '06'}">
											搜狗pc
										</c:if>
										<c:if test="${key.engineCode == '07'}">
											搜狗移动
										</c:if>
									</td>
                                    </td>
                                </tr>
                            </c:forEach>
                           </tbody>
                        </table>
                        
                         <table class="table table-hover" id="keyWordTable">
                            <thead>
                                <tr>
                                    <th class="text-center">序号</th>
                                    <th class="text-center">关键词</th>
                                    <th class="text-center">域名</th>
                                    <th class="text-center">引擎</th>
                                </tr>
                            </thead>
                            <tbody>
							<c:forEach items="${param.failList}" var="key" varStatus="vs">
                            	<tr class="text-center">
                                    <td>${vs.index +1 }</td>
									<td>${key.keyWord }</td>
									<td>${key.domain }</td>
									<td>
										<c:if test="${key.engineCode == '01'}">
											百度PC
										</c:if>
										<c:if test="${key.engineCode == '02'}">
											百度移动
										</c:if>
										<c:if test="${key.engineCode == '03'}">
											360PC
										</c:if>
										<c:if test="${key.engineCode == '04'}">
											360移动
										</c:if>
										<c:if test="${key.engineCode == '05'}">
											神马
										</c:if>
										<c:if test="${key.engineCode == '06'}">
											搜狗pc
										</c:if>
										<c:if test="${key.engineCode == '07'}">
											搜狗移动
										</c:if>
									</td>
                                    </td>
                                </tr>
                            </c:forEach>
                           </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
        </form>
    </div>
    <script src="static/templet/js/jquery.min.js?v=2.1.4"></script>
    <script src="static/templet/js/bootstrap.min.js?v=3.3.5"></script>
    <script src="static/templet/js/plugins/peity/jquery.peity.min.js"></script>
    <script src="static/templet/js/content.min.js?v=1.0.0"></script>
    <script src="static/templet/js/plugins/iCheck/icheck.min.js"></script>
     <script src="static/templet/js/demo/peity-demo.min.js"></script>
    <script src="static/templet/js/plugins/layer/layer.min.js"></script>
    <script src="static/templet/js/iframe.min.js"></script>
    <script type="text/javascript">
    
    $(function(){
    	keyWordForms.submit();
    })
    
    </script>

</body>

</html>